Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal action As Action(Of Boolean), _ ByVal initialValue As Boolean, _ ByVal revertValue As Boolean _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim action As Action(Of Boolean) Dim initialValue As Boolean Dim revertValue As Boolean Dim instance As New BooleanUsingBlock(action, initialValue, revertValue) |
C# | |
---|---|
public BooleanUsingBlock( Action<bool> action, bool initialValue, bool revertValue ) |
C++/CLI | |
---|---|
public: BooleanUsingBlock( Action<bool>^ action, bool initialValue, bool revertValue ) |
Parameters
- action
- initialValue
- revertValue
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family